using System;
using System.Collections.Generic;
using System.Linq;
using Granite.Collections;

namespace Granite.Commons.Tests.Mocks
{
	public class NotifierCollection : ExtendedObservableCollection<Notifier>
	{
		public void RaisePropertyName(string propertName)
		{
			OnPropertyChanged(propertName);
		}
	}


    public class ReadOnlyNotifierCollection : ExtendedReadOnlyObservableCollection<Notifier>
    {
        public ReadOnlyNotifierCollection(ExtendedObservableCollection<Notifier> list)
            : base(list)
        {
            
        }

        public void RaisePropertyName(string propertName)
        {
            OnPropertyChanged(propertName);
        }
    }

    //public class NotifierDictionary : ExtendedObservableDictionary<int, Notifier>
    //{
    //    private int m_Boom;
    //    public int Boom
    //    {
    //        get { return m_Boom; }
    //        set
    //        {
    //            m_Boom = value;
    //            base.OnPropertyChanged("Boom");
    //        }
    //    }

    //}
}
